import { createVNode } from "vue";
import { Modal } from "ant-design-vue";
import { ExclamationCircleOutlined } from "@ant-design/icons-vue";


export const comfirmModal = (options) => {
    Modal.confirm({
        title: "提示",
        icon: createVNode(ExclamationCircleOutlined),
        content: options.content,
        onOk: options.onOk,
    });
}